<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/index.css">
</head>
<body>
    <div class="content">
        <div class="tit">
            <ul class="titUl">
                <li>
                    <img src="../img/img/logonew.png" alt="">
                </li>
                <li>
                    <button onclick="index()">首页</button>
                </li>
                <li>
                    <button onclick="kuwan()">酷玩</button>
                </li>
                <li>
                    <button onclick="guide()">导购</button>
                </li>
                <li>
                    <button onclick="probation()">试用</button>
                </li>
                <li>
                    <button onclick="report()">报告</button>
                </li>
                <li>
                    <button id="register">注册</button>
                </li>
                <li>
                    <img src="../img/css/img/search.png" alt="" id="serach">
                </li>
            </ul>
        </div>
        <iframe src="./index_.html" frameborder="0"></iframe>
        <div>
            <p>123</p>
            <p>123</p>
            <p>123</p>
            <p>123</p>
            <p>123</p>
            <p>123</p>
            <p>123</p>
            <p>123</p>
            <p>123</p>
        </div>
    </div>
    <script>
        let iframe = document.querySelector('iframe')
        function index() {
            iframe.src = './index_.html'
        }
        function kuwan() {
            // let iframe = document.querySelector('iframe')
            iframe.src = './cool.html'
        }
        function guide() {
            // let iframe = document.querySelector('iframe')
            iframe.src = './shoppingguide.html'
        }
        function probation() {
            iframe.src = './probation.html'
        }
        function report() {
            iframe.src = './report.html'
        }
    </script>
</body>
</html>